<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>

<form:form commandName="utente">
    <table border="0" align="center" width="334px" height="500px" background="images/loginform.png">
	    <tr height="244px">
	    	<td></td>    
	    </tr>     
        <tr >
            <td align="center" height="58px"><form:input path="login"/></td>
        </tr>
        <tr >
        	<td align="center" height="96px"><form:password path="password"/></td>
        </tr>
        <tr>
            <td>
	            <form:errors path="login" cssClass="errorMessage"/><br/>
	            <form:errors path="password" cssClass="errorMessage"/>
            </td>
        </tr>
        <tr align="center">
            <td align="center" valign="top">
                <button type="submit">
                        <img src="<c:url value="/images/button-save.png"/>" alt=""/>
                        Accedi
                </button>
            </td>
            
        </tr>
    </table>
</form:form>